EXERCISE 2: Notice that we deleted the repetitive code for you. Let's recreate the program.

  • In LOGIC, go to . Drag out Loop with Range to the bottom of the program.
  • Change the integer in range() to the number of repetitions to 6.
  • Drag in your custom block within the loop! Make sure it's indented!

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)